|
Workout With Friends
Stay fit with a little motivation
|
Makes sure a file is of the proper type. More...

Public Member Functions | |
| def | __init__ |
| def | __call__ |
Public Attributes | |
| allowed | |
| message | |
Makes sure a file is of the proper type.
Definition at line 95 of file validators.py.
| def wowf.lib.validators.FileType.__init__ | ( | self, | |
| allowed, | |||
message = None |
|||
| ) |
Definition at line 97 of file validators.py.
| def wowf.lib.validators.FileType.__call__ | ( | self, | |
| form, | |||
| field | |||
| ) |
Definition at line 101 of file validators.py.
| wowf.lib.validators.FileType.allowed |
Definition at line 98 of file validators.py.
| wowf.lib.validators.FileType.message |
Definition at line 99 of file validators.py.
1.8.1.2